interface FetchFollowUpRecordDetailAPIResData {
  code: number
  msg: string
  time: string
  data: {
    id: number
    reserve_order_id: number
    title: string
    again_visit_time: string
    doctor_name: string
    content: string
    create_time: string
  }
}

interface FetchFollowUpRecordDetailAPIParams {
  id: string
}

export function fetchFollowUpRecordDetailAPI(params: FetchFollowUpRecordDetailAPIParams, token: string) {
  return httpInstance.get<FetchFollowUpRecordDetailAPIResData, FetchFollowUpRecordDetailAPIParams>(
    '/api/reserve_order/againdetail',
    { params, headers: { token } },
  )
}
